package com.weyoung.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weyoung.admin.dto.req.AdminFamilyAddDTO;
import com.weyoung.admin.dto.req.FamilyAddDTO;
import com.weyoung.common.model.entity.FamilyDO;

import java.util.List;

/**
* @author 86182
* @description 针对表【family(家族信息表)】的数据库操作Service
* @createDate 2025-04-14 16:37:25
*/
public interface FamilyService extends IService<FamilyDO> {

    List<FamilyDO> getByNmae(String name);

    /**
     *新增或修改家族信息
     * @param familyAddDTO
     */
    void add(FamilyAddDTO familyAddDTO);

    void add1(AdminFamilyAddDTO familyAddDTO);

    void delete(String id);
}
